# $Id: PKGBUILD 72991 2012-06-26 19:38:49Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=goocanvas
pkgver=2.0.1
pkgrel=2
pkgdesc="A cairo canvas widget for GTK+"
arch=(i686 x86_64)
url="http://live.gnome.org/GooCanvas"
options=('!libtool' 'docs')
license=("LGPL")
depends=('gtk3')
makedepends=('gobject-introspection' 'python-gobject2')
source=(http://ftp.gnome.org/pub/GNOME/sources/goocanvas/2.0/goocanvas-$pkgver.tar.xz)
sha256sums=('0c3a595a6d2a4fe0f1a1a5243637e66aa1bfbaf6492455bfd0b51e0dec9b1553')
sha256sums=('0c3a595a6d2a4fe0f1a1a5243637e66aa1bfbaf6492455bfd0b51e0dec9b1553')

build() {
  cd $srcdir/goocanvas-$pkgver
  ./configure --prefix=/usr --disable-static
  make
}

package() {
  cd $srcdir/goocanvas-$pkgver
  make DESTDIR=$pkgdir install
}
